package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.WxMiniprogram;

/**
 * miniprogramMapper接口
 * 
 * @author zy
 * @date 2022-03-27
 */
public interface WxMiniprogramMapper 
{
    /**
     * 查询miniprogram
     * 
     * @param id miniprogram主键
     * @return miniprogram
     */
    public WxMiniprogram selectWxMiniprogramById(Long id);

    /**
     * 查询miniprogram列表
     * 
     * @param wxMiniprogram miniprogram
     * @return miniprogram集合
     */
    public List<WxMiniprogram> selectWxMiniprogramList(WxMiniprogram wxMiniprogram);

    /**
     * 新增miniprogram
     * 
     * @param wxMiniprogram miniprogram
     * @return 结果
     */
    public int insertWxMiniprogram(WxMiniprogram wxMiniprogram);

    /**
     * 修改miniprogram
     * 
     * @param wxMiniprogram miniprogram
     * @return 结果
     */
    public int updateWxMiniprogram(WxMiniprogram wxMiniprogram);

    /**
     * 删除miniprogram
     * 
     * @param id miniprogram主键
     * @return 结果
     */
    public int deleteWxMiniprogramById(Long id);

    /**
     * 批量删除miniprogram
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWxMiniprogramByIds(Long[] ids);
}
